package com.gc.server.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;


/**
 * 建议实体
 * 表名 advise
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 22 11:24:34 CST 2020
 */
@Setter
@Getter
public class AdviseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //申请人
    private Long userId;
    //标题
    private String title;
    //内容
    private String content;
    //IMG-图片
    private String img;
    //申请时间
    private Date time;
    //起止时间
    Date[] times;
    //ENUM-状态:"WAIT-待查阅","PASS-采纳","REFUSE-不采纳"
    private Integer status;
    //备注
    private String remark;

    public AdviseEntity(){

    }

    public AdviseEntity(Long userId, String title, String content, String img, Date time, Integer status) {
        this.userId = userId;
        this.title = title;
        this.content = content;
        this.img = img;
        this.time = time;
        this.status = status;
    }
}
